package edu.cuit.avatar.inherit;

/**
 * @author <a href="mailto:1020zhaodan@163.com">Adan</a>
 * @version 1.0
 * @date 2025/7/9 15:38
 */
public class Rectangle extends Geometric{
    private float height;
    private float width;

    public Rectangle(float height, float width) {
        super();
        this.height = height;
        this.width = width;
    }

    public Rectangle(float height, float width, String color, boolean filled) {
        super(color, filled);
        this.width = width;
        this.height = height;

    }

    public float getHeight() {
        return height;
    }

    public void setHeight(float height) {
        this.height = height;
    }

    public float getWidth() {
        return width;
    }

    public void setWidth(float width) {
        this.width = width;
    }
}
